export const waitTime = (time: number | undefined) => new Promise((res) => {
  setTimeout(res, time)
})